<?php /* Smarty version 2.6.18, created on 2016-12-15 22:12:47
         compiled from goods/m.goods.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--主体部分-->

<div class="container" style="margin-top:70px;">
    <div class="row" style="margin-right:10%;">
        <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="index.php?a=goods.goodsadd" style="width:30%">增加</a></div>
    </div>
    <!--row  end-->
    <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
        <?php $_from = $this->_tpl_vars['goods_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>

        <table class="table table-striped table-bordered text-center"  id="middles">
            <tr>
                <td>领用人</td>
                <td><?php echo $this->_tpl_vars['value']['goods_name']; ?>
</td>
            </tr>
            <tr>
                <td>领用时间</td>
                <td><?php echo $this->_tpl_vars['value']['goods_date']; ?>
</td>
            </tr>
            <tr>
                <td>领用物品</td>
                <td><?php echo $this->_tpl_vars['value']['goods_content']; ?>
</td>
            </tr>
            <tr>
                <td>用途</td>
                <td><?php echo $this->_tpl_vars['value']['goods_use']; ?>
</td>
            </tr>
            <tr>
                <td>操作</td>
                <td >
                    <a href="index.php?a=goods.goodsupdate&goods_id=<?php echo $this->_tpl_vars['value']['goods_id']; ?>
" class="btn btn-warning btn-sm"  title="修改"> <i class="fa fa-edit (alias)"></i>
                    修改</a></td>
            </tr>
        </table>
        <?php endforeach; endif; unset($_from); ?>
    </div>
</div>
<!--container  end-->

<!--主体部分  end-->
<!--底部-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--container  end-->

<!--底部end-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->

<!--日历-->
<script>
    $(function() {
        $( "#datepicker" ).datepicker({

            changeMonth: true,
            changeYear: true

        });

        $( "#datepicker2" ).datepicker({

            changeMonth: true,
            changeYear: true

        });
    });
</script>
</body>
</html>